GDK W32: Remove stray debug code
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 3 Dec 2017 06:08:44 +0000 (06:08 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 3 Dec 2017 06:10:03 +0000 (06:10 +0000)
I have no idea how this slipped into master (these two lines are not present
in the same commit that went into gtk-3-22).

gdk/win32/gdkwindow-win32.c

index 5e784e8858c2ec93b27100151d3117eac7a94f9f..3756fb40626667babd067db32c4eaa8ebe8ffeeb 100644 (file)
@@ -238,14 +238,12 @@ gdk_window_impl_win32_finalize (GObject *object)
 
   if (window_impl->cache_surface)
     {
-      cairo_surface_t_note_about_to_dereference (window_impl->cache_surface);
       cairo_surface_destroy (window_impl->cache_surface);
       window_impl->cache_surface = NULL;
     }
 
   if (window_impl->cairo_surface)
     {
-      cairo_surface_t_note_about_to_dereference (window_impl->cairo_surface);
       cairo_surface_destroy (window_impl->cairo_surface);
       window_impl->cairo_surface = NULL;
     }